package com.ruoyi.system.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 物理性质对象 soil_physics
 * 
 * @author ruoyi
 * @date 2024-03-20
 */
public class SoilPhysics extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 记录id */
    private Long id;

    /** 样本id */
    @Excel(name = "样本id")
    private Long sIdi;

    /** 过滤 */
    @Excel(name = "过滤")
    private String filter;

    /** 团聚体 */
    @Excel(name = "团聚体")
    private String aggregate;

    /** 孔隙度 */
    @Excel(name = "孔隙度")
    private String porosity;

    /** 渗透系数 */
    @Excel(name = "渗透系数")
    private BigDecimal osmosis;

    /** 贯穿阻力 */
    @Excel(name = "贯穿阻力")
    private BigDecimal resistance;

    /** 深度(cm) */
    @Excel(name = "深度(cm)")
    private String depth;

    /** 结构稳定性 */
    @Excel(name = "结构稳定性")
    private String stability;

    /** 质地 */
    @Excel(name = "质地")
    private String quality;

    /** 容重 */
    @Excel(name = "容重")
    private BigDecimal weight;

    /** 田间持水量 */
    @Excel(name = "田间持水量")
    private BigDecimal water;

    /** TP(g/kg) */
    @Excel(name = "TP(g/kg)")
    private BigDecimal tp;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setsIdi(Long sIdi) 
    {
        this.sIdi = sIdi;
    }

    public Long getsIdi() 
    {
        return sIdi;
    }
    public void setFilter(String filter) 
    {
        this.filter = filter;
    }

    public String getFilter() 
    {
        return filter;
    }
    public void setAggregate(String aggregate) 
    {
        this.aggregate = aggregate;
    }

    public String getAggregate() 
    {
        return aggregate;
    }
    public void setPorosity(String porosity) 
    {
        this.porosity = porosity;
    }

    public String getPorosity() 
    {
        return porosity;
    }
    public void setOsmosis(BigDecimal osmosis) 
    {
        this.osmosis = osmosis;
    }

    public BigDecimal getOsmosis() 
    {
        return osmosis;
    }
    public void setResistance(BigDecimal resistance) 
    {
        this.resistance = resistance;
    }

    public BigDecimal getResistance() 
    {
        return resistance;
    }
    public void setDepth(String depth) 
    {
        this.depth = depth;
    }

    public String getDepth() 
    {
        return depth;
    }
    public void setStability(String stability) 
    {
        this.stability = stability;
    }

    public String getStability() 
    {
        return stability;
    }
    public void setQuality(String quality) 
    {
        this.quality = quality;
    }

    public String getQuality() 
    {
        return quality;
    }
    public void setWeight(BigDecimal weight) 
    {
        this.weight = weight;
    }

    public BigDecimal getWeight() 
    {
        return weight;
    }
    public void setWater(BigDecimal water) 
    {
        this.water = water;
    }

    public BigDecimal getWater() 
    {
        return water;
    }
    public void setTp(BigDecimal tp) 
    {
        this.tp = tp;
    }

    public BigDecimal getTp() 
    {
        return tp;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sIdi", getsIdi())
            .append("filter", getFilter())
            .append("aggregate", getAggregate())
            .append("porosity", getPorosity())
            .append("osmosis", getOsmosis())
            .append("resistance", getResistance())
            .append("depth", getDepth())
            .append("stability", getStability())
            .append("quality", getQuality())
            .append("weight", getWeight())
            .append("water", getWater())
            .append("tp", getTp())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
